package com.pan.utils;

import com.pan.entity.Compute;
import com.pan.enumn.ComputeEnum;

public class ComputeEnumToEntity {
    public static Compute enumToEntity(ComputeEnum computeEnum){
        return new Compute(computeEnum.getSign(),computeEnum.getCalculate());
    }
}
